<%--
  Created by IntelliJ IDEA.
  User: 754165242
  Date: 2022/3/7
  Time: 20:29
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%--
         pageContext:页面域对
         request:请求域
         session:会话域
            当服务器关闭的时候session不会销毁、服务器会将session中的信息钝化到硬盘中、等待服务器再次启动 服务器会从硬盘中将session活化到内存
         application:应用域
  --%>
<%
    pageContext.setAttribute("msg","锄禾日当午,汗滴禾下土");
    request.setAttribute("msg1","夏日炎炎似火烧");
    //request.getRequestDispatcher("/jsp/jsp_demo19.jsp").forward(request,response);
    session.setAttribute("msg2","足蒸暑土气,背灼炎天光");
    application.setAttribute("msg3","春眠不觉晓,处处蚊子咬。");
%>
</body>
</html>
